package pers.csw.lookBook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.csw.lookBook.dto.BookTagDto;
import pers.csw.lookBook.entity.Books;

import java.util.List;

/**
 * @author csw
 */
public interface BookService extends IService<Books> {
    /**
     * @return 返回男生精选的数据
     */
    List<Books> getMan();

    /**
     * @return 返回女生精选的数据
     */
    List<Books> getWoMan();


    List<BookTagDto>getBookByCategoryId(Integer CategoryId);

    List<BookTagDto> searchBook(String title);
}
